package com.ip.getip.controller;

import com.ip.getip.service.impl.GreenImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ Description   :
 * @ Author        :  leixin
 * @ CreateDate    :  2021/12/16-14:00
 * @ Version       :  1.0
 */
@RestController
public class AttendanceController {

    @Autowired
    GreenImpl green;

    @GetMapping(value = "sbdk")
    public String clockIn() throws Exception {
        return green.clockIn();
    }

    @GetMapping(value = "xbdk")
    public String clockOut() throws Exception {
        return green.clockOut();
    }
}
